@import url(color.less);
#header {
  height: 50px;
  background-color: @title-background-color;
  position: relative;
  >.logo {
    top: 50%;
    position: absolute;
    transform: translateY(-50%);
    left: 10px;
    >img {
      width: 186px;
      height: 25px;
    }
  }
  >.app {
    position: absolute;
    top:50%;
    transform: translateY(-50%);
    right: 10px;
    >img {
      width: 34px;
      height: 34px;
    }
  }
  >.back {
    position: absolute;
    left:10px;
    top:50%;
    padding: 10px;
    width: 50px;
    height: 50px;
    transform: translateY(-50%);
    background-image: url('../images/icon_bar.png');
    background-position: -97px -6px;
    background-size:220px 132px;
    background-clip: content-box;
    background-origin: content-box;
    >img {
      width: 30px;
      height: 30px;
    }
  }
  .title {
    color: #fff;
    font-size: 18px;
    position: absolute;
    top: 50%;
    left:50%;
    transform: translate(-50%,-50%);
  }
}
#search {
  >form{
    padding: 10px;
    display: flex;
    border-bottom:1px solid @border-color;
    >input[type=search]{
      flex: 1;
      height: 30px;
      border-radius: 15px;
      background-color: #ccc;
      border: 0;
      outline: none;
      padding-left: 15px;
      margin-right: 10px;
    }
    input[type="search"]::-webkit-search-cancel-button {
      -webkit-appearance: none;
      width: 15px;
      height: 15px;
      background-image: url('../images/cancel.png');
      background-size:15px 15px;
      background-repeat: no-repeat;
      margin-right: 15px;
    }
    >input[type=submit]{
      background-color: @title-background-color;
      width: 63px;
      height: 30px;
      border-radius: 15px;
      border: 0;
      outline: none;
      color: #fff;
      float: right;
    }
  }
}
#footer {
  padding: 10px;
  padding-left:0;
  padding-right:0;
  .row {
    margin: 0;
    div {
      padding: 0;
      > a {
        text-align: center;
        width: 100%;
        height: 100%;
        display: block;
        padding: 10px;
        border:1px solid @border-color;
        border-left:0;
        color: #5a5a5a;
      }
    }
    div:last-of-type {
      >a {
        border-right:0;
        position: relative;
      }
      >a:before {
        content: "";
        position: absolute;
        width: 15px;
        height: 15px;
        background-image: url('../images/top.png');
        background-size:15px 15px ;
        background-repeat:no-repeat;
        top:50%;
        transform: translateY(-50%);
        left: 10px;
        display: block;
      }
    }
  }
  .normal-info {
    text-align: center;
    margin-top: 10px;
    >.app-download {
      color: red;
    }
    >.website-des {

    }
  }
  .website {
    text-align: center;
  }
}